package com.example.myapplication.util;

/**
 * @author: rongfeng
 * @date: 2020/12/24
 * @description
 */
public interface SimpleCallback {
    interface CallbackInt {
        void callback(int number);
    }

    interface CallbackLong {
        void callback(long number);
    }


    interface CallbackBoolean {
        void callback(Boolean is);
    }

    interface CallbackString {
        void callback(String string);
    }

    interface Callback {
        void callback();
    }

    interface Callback2<T> {
        void execute(T t);
    }

    interface Callback3<T,P> {
        void callback(T t,P p);
    }

}
